body {
    font: 80% arial, helvetica, sans-serif;
    margin:0 0 5% 0;/*top right bottom left*/
    min-width: 700px;
    background-color:#D8D8D8; 
    background-position: 50% 50%;
}	

#header {
    display: table;
    width: 100%;
    min-width: 1000px;
    margin-bottom: 20px;
    overflow:hidden;
    -moz-box-shadow: 10px 20px 5px #888;
    -webkit-box-shadow: 10px 20px 5px #888;
    box-shadow: 10px 20px 5px #888;
    height: 125px;
    min-height: 125px;
}

#header_row
{
    display: table-row;
    min-width: 500px;
    background-color: black;
    width: 100%;
}
#header_row .header_cell{
    vertical-align: middle; 
    display: table-cell;
    min-height: 125px;
    min-width: 500px;
}
#header logo_text{
    width: 20%;
    min-width: 500px;
}
#header_container_inner logo_image{
        
    width: 80%;
}
#header_container_inner logo_image img{
    right: 10px;
}
h1 {
    color: grey ;
    font-family: 'Tangerine', cursive;
    font-size: 44px;
    background: -webkit-gradient(linear, left top, left bottom, from(whitesmoke), to(grey));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1 a{
    text-decoration: none ;
    color: grey;
    font-family: 'Tangerine', cursive;
    font-size: 44px;
    background: -webkit-gradient(linear, left top, left bottom, from(whitesmoke), to(grey));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1 a:visited {
    color: grey;
    font-family: 'Tangerine', cursive;
    font-size: 44px;
    background: -webkit-gradient(linear, left top, left bottom, from(whitesmoke), to(grey));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#navigation {
    margin-bottom: 1%;
    position: relative;
    text-align: center;
    overflow:hidden;
}

#navigation ul
{
    list-style-type:none;
    height: 30px;
    width: 663px;
    margin: auto;
}
#navigation li
{
    float:left;
}
#navigation a
{
    background-position: right;
    padding-right: 32px;
    padding-left: 32px;
    display: block;
    line-height: 30px;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
}
#navigation a:hover 
{
    background-color:#C0C0C0;
}
#content {
    margin-left: 20%;
    width: 1000px;
}
#content2 {
    margin-left: 20%;
    width: 1000px;
}
#content_category_selection {
    margin-left: 30%;
    width: 700px;
    height: 400px;
}
#content_links{
    
    margin-left: 25%;
    width: 663px;
    height: 400px;
    
}
#content_form {
    margin-left: 150px;
    width: 400px;
}
#photos_container{
    /*width:from content*/
    overflow:hidden;
    height: auto;
    width: 1000px;
    border-color: black;
    border-width: 3px;
}
#content img{
        /*add shadow to pictures*/
    border: solid 1px #CCC;
    -moz-box-shadow: 4px 4px 10px #000;
    -webkit-box-shadow: 4px 4px 10px #000;
    box-shadow: 4px 4px 10px #000;
    
}
#photos_container_element{
    float:  left;
    width:  270px;
    height: 275px;
}
#photos_container ul{
    list-style-type:none;
}
/*overlay and popuImage are used in the popupImage */
#overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0.8;
    filter: alpha(opacity=80);
}
#popupImage {
    position: absolute;
    border:5px solid;
    border-color: gray;
    /*-webkit-border-top-left-radius: 20px;
    -webkit-border-top-right-radius: 40px;
    -webkit-border-bottom-right-radius: 120px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-topright: 40px;
    -moz-border-radius-bottomright: 120px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 120px;
    border-bottom-left-radius: 10px;
    */max-height:667px;
    max-width:900px;
    left: -99999px;
    top: 0;
}

.fadein {
    position:relative;
    margin-left: 18%;
    width:663px;
    height:332px; 
}
.fadein img { 
    display: block;   
    position:absolute;
    margin: auto; 
    top:0; 
}

#footer {
    margin-top: 4%;
    margin-left: 40%;
    width: 200px;
    text-align:center;
    clear: both;
    bottom: 0px;
}